package xyz.fuqufyb.aec.fallback;

import com.spingcloud.travel.common.TableResult;
import com.springcloud.travel.entity.Scenery;
import org.springframework.stereotype.Component;
import xyz.fuqufyb.aec.feign.scenery.SceneryFeign;

@Component
public class SceneryFeignFallBack implements SceneryFeign {
    @Override
    public boolean addScenery(Scenery scenery) {
        System.out.println("SceneryFeignFallBack.addScenery");
        return false;
    }

    @Override
    public boolean updateScenery(Scenery scenery) {
        System.out.println("SceneryFeignFallBack.updateScenery");
        return false;
    }

    @Override
    public boolean delScenery(String[] ids) {
        System.out.println("SceneryFeignFallBack.delScenery");
        return false;
    }

    @Override
    public TableResult getTable(Integer page, Integer limit) {
        System.out.println("SceneryFeignFallBack.getTable");
        return null;
    }
}
